package java_design_model.com.State.abc;

public class AState implements State {
    BState bState;
    @Override
    public void changState(MM mm) {
        if(bState==null){
            bState=new BState();
        }
        mm.setState(bState);
    }

    @Override
    public void showState() {
        System.out.println(this.getClass().getName());

    }
}
